.class public Lcom/waiqin365/lightapp/dailyreport/view/d;
.super Landroid/widget/BaseAdapter;


# instance fields
.field public a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private b:Landroid/content/Context;

.field private c:Ljava/util/ArrayList;

.field private d:Ljava/text/SimpleDateFormat;

.field private e:Lcom/waiqin365/lightapp/dailyreport/view/g;

.field private f:Lcom/waiqin365/lightapp/dailyreport/view/ak;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/ArrayList;)V
    .locals 2

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/g;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/g;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->e:Lcom/waiqin365/lightapp/dailyreport/view/g;

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->d:Ljava/text/SimpleDateFormat;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->f:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->f:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->e:Lcom/waiqin365/lightapp/dailyreport/view/g;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(Lcom/waiqin365/lightapp/dailyreport/view/cn;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/d;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/dailyreport/view/d;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/dailyreport/view/d;)Lcom/waiqin365/lightapp/dailyreport/view/ak;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->f:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    return-object v0
.end method


# virtual methods
.method public a()Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    return-object v0
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->f:Lcom/waiqin365/lightapp/dailyreport/view/ak;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(Ljava/lang/String;)V

    return-void
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/d;->notifyDataSetChanged()V

    return-void
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 12

    const/4 v9, 0x3

    const/4 v8, 0x2

    const/16 v11, 0x22

    const/4 v4, 0x1

    const/4 v10, 0x0

    if-nez p2, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0300f7

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/h;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/d;)V

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    const v0, 0x7f0c001d

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/view/h;->a:Lcom/waiqin365/base/login/mainview/CircleImageView;

    const v0, 0x7f0c05ce

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/view/h;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c05cd

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/view/h;->c:Landroid/widget/TextView;

    const v0, 0x7f0c05cf

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/view/h;->d:Landroid/widget/TextView;

    const v0, 0x7f0c05d0

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/view/h;->e:Landroid/widget/TextView;

    const v0, 0x7f0c05d1

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/view/h;->f:Landroid/widget/TextView;

    move-object v7, v1

    :goto_0
    if-nez p1, :cond_3

    const v0, 0x7f0c05cc

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    if-eqz v1, :cond_4

    iget-object v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v2, :cond_4

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "face"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "_small.jpg?timestamp="

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    iget-object v2, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->a:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-static {v1, v2, v0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->a:Lcom/waiqin365/base/login/mainview/CircleImageView;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/e;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/e;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/d;I)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->b:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/f;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/f;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/d;I)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v3, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->o:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v5, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->j:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v6, 0x7f080129

    invoke-virtual {v0, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v6, v9, [Ljava/lang/Object;

    aput-object v1, v6, v10

    aput-object v2, v6, v4

    aput-object v3, v6, v8

    invoke-static {v0, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    new-instance v0, Landroid/text/SpannableStringBuilder;

    invoke-direct {v0, v6}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V

    const-string/jumbo v6, "[\u8d5e]"

    invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v6, 0x7f08089f

    invoke-virtual {v0, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v6, v9, [Ljava/lang/Object;

    aput-object v1, v6, v10

    aput-object v2, v6, v4

    aput-object v3, v6, v8

    invoke-static {v0, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    new-instance v0, Landroid/text/SpannableStringBuilder;

    invoke-direct {v0, v3}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V

    new-instance v3, Landroid/text/style/ForegroundColorSpan;

    const-string/jumbo v6, "#4A6792"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-direct {v3, v6}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v6

    invoke-virtual {v0, v3, v10, v6, v11}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    new-instance v3, Landroid/text/style/ForegroundColorSpan;

    const-string/jumbo v6, "#4A6792"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-direct {v3, v6}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v6

    iget-object v8, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v9, 0x7f08089e

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    add-int/2addr v6, v8

    iget-object v8, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v9, 0x7f08089e

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    add-int/2addr v1, v8

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v8

    add-int/2addr v1, v8

    invoke-virtual {v0, v3, v6, v1, v11}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    :goto_3
    iget-object v1, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->c:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->i:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v0

    const/16 v3, 0x13

    if-lt v0, v3, :cond_0

    const-string/jumbo v0, ""

    :try_start_0
    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->d:Ljava/text/SimpleDateFormat;

    invoke-virtual {v3, v1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v6

    invoke-virtual {v6, v1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    invoke-static {v3, v6}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/util/Calendar;Ljava/util/Calendar;)Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_4
    iget-object v1, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_6

    const-string/jumbo v0, "http://"

    invoke-virtual {v5, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v0, "https://"

    invoke-virtual {v5, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v0, "www."

    invoke-virtual {v5, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v0, "<a "

    invoke-virtual {v5, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_6

    :cond_1
    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setAutoLinkMask(I)V

    :goto_5
    const-string/jumbo v0, "[\u8d5e]"

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->e:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_6
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->m:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    iget-object v1, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->f:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v2, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v5, v2, Lcom/waiqin365/lightapp/dailyreport/c/c;->q:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v2, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/c/c;->r:Ljava/lang/String;

    invoke-static {v3, v5, v2}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    iget-object v5, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v5, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v5, v5, Lcom/waiqin365/lightapp/dailyreport/c/c;->b:Ljava/lang/String;

    move v6, p1

    invoke-static/range {v0 .. v6}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Landroid/content/Context;Landroid/widget/TextView;Ljava/lang/String;Ljava/util/List;ZLjava/lang/String;I)V

    new-instance v0, Landroid/graphics/drawable/GradientDrawable;

    invoke-direct {v0}, Landroid/graphics/drawable/GradientDrawable;-><init>()V

    invoke-virtual {v0, v10}, Landroid/graphics/drawable/GradientDrawable;->setShape(I)V

    const-string/jumbo v1, "#e0e0e0"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v4, v1}, Landroid/graphics/drawable/GradientDrawable;->setStroke(II)V

    const-string/jumbo v1, "#f5f5f5"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/GradientDrawable;->setColor(I)V

    iget-object v1, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->f:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    return-object p2

    :cond_2
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/h;

    move-object v7, v0

    goto/16 :goto_0

    :cond_3
    const v0, 0x7f0c05cc

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->f:Ljava/lang/String;

    goto/16 :goto_2

    :cond_5
    new-instance v3, Landroid/text/style/ForegroundColorSpan;

    const-string/jumbo v6, "#4A6792"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-direct {v3, v6}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v6

    invoke-virtual {v0, v3, v10, v6, v11}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    new-instance v3, Landroid/text/style/ForegroundColorSpan;

    const-string/jumbo v6, "#4A6792"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-direct {v3, v6}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v6

    iget-object v8, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v9, 0x7f080127

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    add-int/2addr v6, v8

    iget-object v8, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v9, 0x7f080127

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    add-int/2addr v1, v8

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v8

    add-int/2addr v1, v8

    invoke-virtual {v0, v3, v6, v1, v11}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    goto/16 :goto_3

    :cond_6
    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setAutoLinkMask(I)V

    goto/16 :goto_5

    :cond_7
    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v10}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v7, Lcom/waiqin365/lightapp/dailyreport/view/h;->e:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/d;->b:Landroid/content/Context;

    const v3, 0x3f19999a    # 0.6f

    invoke-static {v1, v5, v3}, Lcom/waiqin365/lightapp/dailyreport/util/DailySmileUtils;->getSmiledText(Landroid/content/Context;Ljava/lang/CharSequence;F)Landroid/text/Spannable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_6

    :catch_0
    move-exception v1

    goto/16 :goto_4
.end method
